'''
Created on May 26, 2011

@author: Igor
'''
import unittest
from decimal import Decimal
from challenges.computer_logic import get_probs


class Test(unittest.TestCase):


    def test_get_probs(self):
        assert Decimal(1224)/1225 == get_probs([12, 25], [])[0]


if __name__ == "__main__":
    #import sys;sys.argv = ['', 'Test.test_get_probs']
    unittest.main()